package com.gxuwz.restaurant.controller.dto;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class test {


    public static void main(String[] args) {

        List<String> Cardlist = new ArrayList<>();
        for (int i = 0; i < 7; i++) {
            Cardlist.add("SSR");
        }
        for (int i = 0; i < 15; i++) {
            Cardlist.add("SR");
        }
        for (int i = 0; i < 25; i++) {
            Cardlist.add("R");
        }
        for (int i = 0; i < 53; i++) {
            Cardlist.add("N");
        }

        Random random = new Random();
        int n = random.nextInt(Cardlist.size());
        String result = Cardlist.get(n);
        List<String> myCard = new ArrayList<>();
        myCard.add(result);

    }

}
